import { ApiPropertyOptional } from '@midwayjs/swagger'
import { Rule, RuleType } from '@midwayjs/validate'

/**
 *  查找在线分页传输数据
 */
export class FindOnlinePageDTO implements IFindOnlinePageDTO {
  @ApiPropertyOptional({ description: '用户账号', example: '' })
  @Rule(RuleType.string().empty(''))
  userName: string
}
